package com.example.cuibo.myapplication;

/**
 * Created by cuibo on 2017/11/2.
 */

public class Person {
    public String name;

    public Person(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                '}';
    }
    public void eat(){
        System.out.print("今天吃烧烤");
    }
}
